package com.example.studentportrait.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.studentportrait.domain.ResponseResult;
import com.example.studentportrait.domain.dto.*;
import com.example.studentportrait.domain.entity.Role;
import com.example.studentportrait.domain.entity.User;


/**
 * 用户表(User)表服务接口
 *
 * @author 陈海瑞
 * @since 2025-1-11 16:52:54
 */
public interface RoleService extends IService<Role> {
    ResponseResult roleList(Integer pageNum, Integer pageSize, ListRoleDto listRoleDto);

    ResponseResult addRole(RoleDto roleDto);

    ResponseResult updateRole(UpdateRoleDto updateRoleDto);

    ResponseResult deleteRole(Long id);

    ResponseResult getPermissionList();
}

